package com.huhuamin.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;

/**
 * Created on 2021/10/20.
 *
 * @author huahuamin 175759041@qq.com
 * Description:
 */

@TableName("leaf_alloc")
public class LeafAlloc {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("big_tag")
    private String key;
    @TableField("max_id")
    private long maxId;
    @TableField("step")
    private int step;
    @TableField("description")
    private String description;

    @TableField("update_time")
    private LocalDateTime updateTime;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public long getMaxId() {
        return maxId;
    }

    public void setMaxId(long maxId) {
        this.maxId = maxId;
    }

    public int getStep() {
        return step;
    }

    public void setStep(int step) {
        this.step = step;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
